﻿/*
Content
Blue #00adff r = 0; g = 173; b = 255;
Blue2 #164894 r = 22; g = 72; b = 148;
Purple #3c35a1 r = 60; g = 53; b = 161;
Orange #ff630f r = 255; g = 99; b = 15;
Green #1fb800 r = 31; g = 184; b = 0;
Fuscia #e3195c r = 227; g = 25; b = 92;

Logo
Green2 #006e68 r = 0; g = 110; b = 104;
Orange2 #f89921 r = 248; g = 153; b = 33;
Red #e44145 r = 228; g = 65; b = 69;
*/
// Style Switcher
$jqInitColors = jQuery.noConflict();
$jqInitColors(document).ready(function () {

    var background_rgb, back_white, background_rgba, border_rgb, border_rgba;
    var r, g, b;

    // Horizontal Category
	r = 22; g = 72; b = 148;
    back_white = { backgroundColor: "rgb(" + 255 + ',' + 255 + ',' + 255 + ")" };
    background_rgb = { backgroundColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgb = { borderColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgba = { borderColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.27)" };
    background_rgba = { background: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)", backgroundColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)" };

    $jqInitColors('.h-cat-1 .modern-items-list .fold-item .description').css(background_rgba);
    //$jqInitColors('.h-cat-1 .flex-control-paging li a.flex-active').css(background_rgba);
    $jqInitColors('.h-cat-1 .last-post .img-container .img-meta .post-date').css(background_rgba);
    $jqInitColors('.h-cat-1 .flexslider .flex-direction-nav > li').css(background_rgb);
    $jqInitColors('.h-cat-1 .flex-control-paging li a').css(border_rgb);
    $jqInitColors('.h-cat-1 .flex-control-nav').css(border_rgba);


    // Sidebars Category
    r = 248; g = 153; b = 33;
    background_rgb = { backgroundColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgb = { borderColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgba = { borderColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.27)" };
    background_rgba = { background: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)", backgroundColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)" };

    $jqInitColors('.s-posts .modern-items-list .fold-item .description').css(background_rgba);
    //$jqInitColors('.s-posts .flex-control-paging li a.flex-active').css(background_rgba);
    $jqInitColors('.s-posts .last-post .img-container .img-meta .post-date').css(background_rgba);
    $jqInitColors('.s-posts .flexslider .flex-direction-nav > li').css(background_rgb);
    $jqInitColors('.s-posts .flex-control-paging li a').css(border_rgb);
    $jqInitColors('.s-posts .flex-control-nav').css(border_rgba);

    // Vertical 1 Category
    r = 31; g = 184; b = 0;
    background_rgb = { backgroundColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgb = { borderColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgba = { borderColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.27)" };
    background_rgba = { background: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)", backgroundColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)" };

    $jqInitColors('.v-cat-1 .modern-items-list .fold-item .description').css(background_rgba);
    //$jqInitColors('.v-cat-1 .flex-control-paging li a.flex-active').css(background_rgba);
    $jqInitColors('.v-cat-1 .last-post .img-container .img-meta .post-date').css(background_rgba);
    $jqInitColors('.v-cat-1 .flexslider .flex-direction-nav > li').css(background_rgb);
    $jqInitColors('.v-cat-1 .flex-control-paging li a').css(border_rgb);
    $jqInitColors('.v-cat-1 .flex-control-nav').css(border_rgba);


    // Vertical 2 Category
    r = 228; g = 65; b = 69;
    background_rgb = { backgroundColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgb = { borderColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgba = { borderColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.27)" };
    background_rgba = { background: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)", backgroundColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)" };

    $jqInitColors('.v-cat-2 .modern-items-list .fold-item .description').css(background_rgba);
    //$jqInitColors('.v-cat-2 .flex-control-paging li a.flex-active').css(background_rgba);
    $jqInitColors('.v-cat-2 .last-post .img-container .img-meta .post-date').css(background_rgba);
    $jqInitColors('.v-cat-2 .flexslider .flex-direction-nav > li').css(background_rgb);
    $jqInitColors('.v-cat-2 .flex-control-paging li a').css(border_rgb);
    $jqInitColors('.v-cat-2 .flex-control-nav').css(border_rgba);

    // Horiz Divided Category
    r = 0; g = 173; b = 255;
    background_rgb = { backgroundColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgb = { borderColor: "rgb(" + r + ',' + g + ',' + b + ")" };
    border_rgba = { borderColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.27)" };
    background_rgba = { background: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)", backgroundColor: "rgba(" + r + ',' + g + ',' + b + ',' + "0.73)" };

    $jqInitColors('.hd-cat-1 .modern-items-list .fold-item .description').css(background_rgba);
    //$jqInitColors('.hd-cat-1 .flex-control-paging li a.flex-active').css(background_rgba);
    $jqInitColors('.hd-cat-1 .last-post .img-container .img-meta .post-date').css(background_rgba);
    $jqInitColors('.hd-cat-1 .flexslider .flex-direction-nav > li').css(background_rgb);
    $jqInitColors('.hd-cat-1 .flex-control-paging li a').css(border_rgb);
    $jqInitColors('.hd-cat-1 .flex-control-nav').css(border_rgba);    

});
$ = jQuery.noConflict(); //restore the $ symbol